
// const path = require("path")
const { merge } = require('webpack-merge');
const base = require("./webpack.base")

const webpack = require('webpack')

const devConfig = {
  mode: 'development',
  devtool: 'inline-source-map',
  devServer:{
    // contentBase: path.resolve(__dirname, 'dist'),
    hot: true,
    // historyApiFallback: true,
    compress: true
  },
  
  plugins:[
    new webpack.HotModuleReplacementPlugin(),
  ]

}
module.exports = merge(base,devConfig)

